/********************************************************/
/*	Copyright (C) 2016 Gong Li Bin		 	*/
/*	Project:	GoLib-1.0.0			*/
/*	Author:		gong_libin			*/
/*	Date:		2016_01_01			*/
/*	File:		GoBloomTest.go			*/
/********************************************************/

package main

import (
	. "GoGlb"
	C "GoCls"
)

func main() {
	bloom := new(C.GoBloom)
	var value uint64 = 201326611 * 3

	bloom.GoBloomMake(C.GO_BL_01GB)

	bloom.GoBloomUpdate(value)

	GoPrtln("OK:", bloom.GoBloomCheck(value))
	GoPrtln("Len:", bloom.GoBloomSize() / 1048576)
}
